x86/VPMU: clear the overflow status of which counter happened to overflow
authorLuwei Kang <luwei.kang@intel.com>
Wed, 18 Jan 2017 08:46:54 +0000 (09:46 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 18 Jan 2017 08:46:54 +0000 (09:46 +0100)
commitb76a79657cc00ee53db836bab241ebead7bbde55
tree8689c29b0225a6c76c0f279970cfc6c55876b7dd
parente298344e4a43ce72999cb7efaa0132d0077da08d
x86/VPMU: clear the overflow status of which counter happened to overflow

Just set the corresponding bits of counters which happened to overflow,
rather than setting all the available bits of IA32_PERF_GLOBAL_OVF_CTRL
when pmu interrupt happened.

Signed-off-by: Luwei Kang <luwei.kang@intel.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
master commit: 7a0c70482580234868fcc53b8d72e31966dc7c52
master date: 2016-12-13 14:21:26 +0100
xen/arch/x86/cpu/vpmu_intel.c